package org.example.service;

import org.example.domain.MemberAddr;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface MemberAddrService extends IService<MemberAddr>{


    List<MemberAddr> queryMemberAddrListByOpenId(String openId);

    Boolean saveMemberAddr(MemberAddr memberAddr,String openId);

    Boolean modifyMemberAddrInfo(MemberAddr memberAddr, String openId);

    Boolean removeMemberAddrById(Long addrId, String openId);

    Boolean modifyMemberDefaultAddr(String openId, Long newAddrId);
}
